import Vue from 'vue'
import svgCpt from './index.vue' // svg组件

// 全局注册
Vue.component('svgCpt', svgCpt)

const requireAll = requireContext => requireContext.keys().map(requireContext)
const req = require.context('./svgs', false, /\.svg$/)
const iconMap = requireAll(req)
